#ifndef PLAYER_H
#define PLAYER_H

#include "song.h"
#include "Phonon/mediaobject."
#include "Phonon/audiooutput.h"
#include "Phonon/volumeslider.h"
#include "Phonon/path.h"

class Player : public Phonon::MediaObject
{
public:
	Player();

	Song *getCurrentSong();
	bool hasSong();
	void setSong(Song *song);
	void setVolumeControl(Phonon::VolumeSlider *volumeSlider);

private:
	Song *currentSong;
    Phonon::AudioOutput audioOutput;
};

#endif // PLAYER_H
